<?php
function optionsframework_option_name() {
	return 'options-framework-theme';
}
function optionsframework_options() {

	// Test data
	$test_array = array(
		'one' => __( 'One', 'theme-textdomain' ),
		'two' => __( 'Two', 'theme-textdomain' ),
		'three' => __( 'Three', 'theme-textdomain' ),
		'four' => __( 'Four', 'theme-textdomain' ),
		'five' => __( 'Five', 'theme-textdomain' )
	);

	// Multicheck Array
	$multicheck_array = array(
		'one' => __( 'French Toast', 'theme-textdomain' ),
		'two' => __( 'Pancake', 'theme-textdomain' ),
		'three' => __( 'Omelette', 'theme-textdomain' ),
		'four' => __( 'Crepe', 'theme-textdomain' ),
		'five' => __( 'Waffle', 'theme-textdomain' )
	);

	// Multicheck Defaults
	$multicheck_defaults = array(
		'one' => '1',
		'five' => '1'
	);

	// Background Defaults
	$background_defaults = array(
		'color' => '',
		'image' => '',
		'repeat' => 'repeat',
		'position' => 'top center',
		'attachment'=>'scroll' );

	// Typography Defaults
	$typography_defaults = array(
		'size' => '15px',
		'face' => 'georgia',
		'style' => 'bold',
		'color' => '#bada55' );

	// Typography Options
	$typography_options = array(
		'sizes' => array( '6','12','14','16','20' ),
		'faces' => array( 'Helvetica Neue' => 'Helvetica Neue','Arial' => 'Arial' ),
		'styles' => array( 'normal' => 'Normal','bold' => 'Bold' ),
		'color' => false
	);

	$options_categories = array();
	$options_categories_obj = get_categories();
	foreach ($options_categories_obj as $category) {
		$options_categories[$category->cat_ID] = $category->cat_name;
	}

	$options_tags = array();
	$options_tags_obj = get_tags();
	foreach ( $options_tags_obj as $tag ) {
		$options_tags[$tag->term_id] = $tag->name;
	}


	$options_pages = array();
	$options_pages_obj = get_pages( 'sort_column=post_parent,menu_order' );
	$options_pages[''] = '请选择';
	foreach ($options_pages_obj as $page) {
		$options_pages[$page->ID] = $page->post_title;
	}

	$imagepath =  get_template_directory_uri() . '/setting/img/';

	
//主题设置框开始————————————————————————————————————————————————————————————	
	
	$options = array();

	$options[] = array(
		'name' => __( '基础设置', 'theme-textdomain' ),
		'id' => 'dashicons-schedule',
		'type' => 'heading'
	);
	
	$options[] = array(
		'name' => __( '站点Logo', 'theme-textdomain' ),
		'desc' => __( '建议logo尺寸170*40', 'theme-textdomain' ),
		'std' => '/wp-content/themes/M1/img/logo.png',
		'id' => 'ztmao_logo',
		'type' => 'upload'
	);
	
	$options[] = array(
		'name' => __( 'favicon图标', 'theme-textdomain' ),
		'desc' => __( '', 'theme-textdomain' ),
		'std' => '/wp-content/themes/M1/img/favicon.ico',
		'id' => 'ztmao_favicon',
		'type' => 'upload'
	);	
	

	

	$options[] = array(
		'name' => __( '幻灯片设置', 'theme-textdomain' ),
		'id' => 'dashicons-video-alt',
		'type' => 'heading'
	);
	
	$options[] = array(
		'name' => __( '首页顶部-幻灯片和置顶文章开关', 'theme-textdomain' ),
		'desc' => __( '打开后首页顶部将会显示幻灯片模块和置顶文章模块（幻灯片尺寸：585*430）', 'theme-textdomain' ),
		'id' => 'index-banner',
		'std' => '1',
		'type' => 'checkbox'
	);
	$options[] = array(
		'name' => __( '分类页面-顶部幻灯片和置顶文章', 'theme-textdomain' ),
		'desc' => __( '打开后分类页面将会显示幻灯片模块和置顶文章模块', 'theme-textdomain' ),
		'id' => 'archive-kg',
		'std' => '',
		'type' => 'checkbox'
	);
	
	$options[] = array(
		'name' => __( 'ban1图像', 'theme-textdomain' ),
		'desc' => __( '', 'theme-textdomain' ),
		'std' => '/wp-content/themes/M1/img/ban.jpg',
		'id' => 'banner1',
		'type' => 'upload'
	);
	
	$options[] = array(
		'name' => __( 'ban1超链接', 'theme-textdomain' ),
		'desc' => __( '', 'theme-textdomain' ),
		'id' => 'banner1l',
		'std' => '',
		'type' => 'text'
	);

	$options[] = array(
		'name' => __( 'ban1标题', 'theme-textdomain' ),
		'desc' => __( '', 'theme-textdomain' ),
		'id' => 'banner1t',
		'std' => '',
		'type' => 'text'
	);
	
	$options[] = array(
		'name' => __( 'ban2图像', 'theme-textdomain' ),
		'desc' => __( '', 'theme-textdomain' ),
		'id' => 'banner2',
		'type' => 'upload'
	);
	
	$options[] = array(
		'name' => __( 'ban2超链接', 'theme-textdomain' ),
		'desc' => __( '', 'theme-textdomain' ),
		'id' => 'banner2l',
		'std' => '',
		'type' => 'text'
	);

	$options[] = array(
		'name' => __( 'ban2标题', 'theme-textdomain' ),
		'desc' => __( '', 'theme-textdomain' ),
		'id' => 'banner2t',
		'std' => '',
		'type' => 'text'
	);

	$options[] = array(
		'name' => __( 'ban3图像', 'theme-textdomain' ),
		'desc' => __( '', 'theme-textdomain' ),
		'id' => 'banner3',
		'type' => 'upload'
	);
	
	$options[] = array(
		'name' => __( 'ban3超链接', 'theme-textdomain' ),
		'desc' => __( '', 'theme-textdomain' ),
		'id' => 'banner3l',
		'std' => '',
		'type' => 'text'
	);
	
	$options[] = array(
		'name' => __( 'ban3标题', 'theme-textdomain' ),
		'desc' => __( '', 'theme-textdomain' ),
		'id' => 'banner3t',
		'std' => '',
		'type' => 'text'
	);

	$options[] = array(
		'name' => __( 'ban4图像', 'theme-textdomain' ),
		'desc' => __( '', 'theme-textdomain' ),
		'id' => 'banner4',
		'type' => 'upload'
	);
	
	$options[] = array(
		'name' => __( 'ban4超链接', 'theme-textdomain' ),
		'desc' => __( '', 'theme-textdomain' ),
		'id' => 'banner4l',
		'std' => '',
		'type' => 'text'
	);
	
	$options[] = array(
		'name' => __( 'ban4标题', 'theme-textdomain' ),
		'desc' => __( '', 'theme-textdomain' ),
		'id' => 'banner4t',
		'std' => '',
		'type' => 'text'
	);

	$options[] = array(
		'name' => __( 'ban5图像', 'theme-textdomain' ),
		'desc' => __( '', 'theme-textdomain' ),
		'id' => 'banner5',
		'type' => 'upload'
	);
	
	$options[] = array(
		'name' => __( 'ban5超链接', 'theme-textdomain' ),
		'desc' => __( '', 'theme-textdomain' ),
		'id' => 'banner5l',
		'std' => '',
		'type' => 'text'
	);

	$options[] = array(
		'name' => __( 'ban5标题', 'theme-textdomain' ),
		'desc' => __( '', 'theme-textdomain' ),
		'id' => 'banner5t',
		'std' => '',
		'type' => 'text'
	);	

	$options[] = array(
		'name' => __( '首页设置', 'theme-textdomain' ),
		'id' => 'dashicons-admin-home',
		'type' => 'heading'
	);


	$options[] = array(
		'name' => __( '首页分类模块开关', 'theme-textdomain' ),
		'desc' => __( '第一篇文章为大图', 'theme-textdomain' ),
		'id' => 'index-list1',
		'std' => '0',
		'type' => 'checkbox'
	);
	
	$options[] = array(
		'name' => __( '显示指定分类', 'theme-textdomain' ),
		'desc' => __( '填写分类id（数字）即可，多个分类用英文符号“,”隔开（例如：1,2）', 'theme-textdomain' ),
		'id' => 'index-list1-id',
		'std' => '1',
		'class' => 'mini',
		'type' => 'text'
	);
	
	$options[] = array(
		'name' => __( '显示文章数量', 'theme-textdomain' ),
		'desc' => __( '每个分类显示文章数量，直接填入数量，建议4篇。', 'theme-textdomain' ),
		'id' => 'index_list1_number',
		'std' => '4',
		'class' => 'mini',
		'type' => 'text'
	);
	
	$options[] = array(
		'name' => __( '首页最新文章列表开关', 'theme-textdomain' ),
		'desc' => __( '显示网站最新发布的文章', 'theme-textdomain' ),
		'id' => 'index-list2',
		'std' => '1',
		'type' => 'checkbox'
	);
	

	if ( $options_categories ) {
		$options[] = array(
			'name' => __( '排除指定分类（从首页最新文章列表内排除）', 'theme-textdomain' ),
			'desc' => __( '如不显示你创建的分类名，是因为你创建的分类下无任何文章存在', 'theme-textdomain' ),
			'id' => 'notinhome',
			'type' => 'select',
			'options' => $options_categories,
			'type' => 'multicheck'
		);
	}	
	
	$options[] = array(
		'name' => __( '文章判定', 'theme-textdomain' ),
		'id' => 'dashicons-hammer',
		'type' => 'heading'
	);	
	
	$options[] = array(
		'name' => __( '文章判定说明', 'theme-textdomain' ),
		'desc' => __( '文章的模板判定是根据分类来判定的,填写分类ID,系统会根据分类来区分文章的模板类型,填写实例 2,3,4,5,6, 每个数字后面加个英文逗号隔开！ 分类ID的获取在主题选项右上角QQ左侧', 'theme-textdomain' ),
		'type' => 'info'
	);
	
	$options[] = array(
		'name' => __( '单栏文章判定', 'theme-textdomain' ),
		'desc' => __( '文章用单栏模板展示，填写分类id', 'theme-textdomain' ),
		'id' => 'f1',
		'std' => '',
		'type' => 'text'
	);
	
	
	$options[] = array(
		'name' => __( '底部设置', 'theme-textdomain' ),
		'id' => 'dashicons-archive',
		'type' => 'heading'
	);
	$options[] = array(
		'name' => __( '是否给主题猫一个外链', 'theme-textdomain' ),
		'desc' => __( '开启页脚会显示一个主题猫的外链，关闭则不显示', 'theme-textdomain' ),
		'id' => 'ztmao_wailian',
		'std' => '1',
		'type' => 'checkbox'
	);	
	$options[] = array(
		'name' => __( '底部版权', 'theme-textdomain' ),
		'desc' => __( '底部版权的文字信息', 'theme-textdomain' ),
		'id' => 'ztmao_copyright',
		'std' => '',
		'type' => 'textarea'
	);
	
	$options[] = array(
		'name' => __( '其他代码', 'theme-textdomain' ),
		'desc' => __( '放一些统计、分享类的代码', 'theme-textdomain' ),
		'id' => 'ztmao_statistics_code',
		'std' => '',
		'type' => 'textarea'
	);
	
	$options[] = array(
		'name' => __( '其他设置', 'theme-textdomain' ),
		'id' => 'dashicons-smiley',
		'type' => 'heading'
	);


	$options[] = array(
		'name' => __( '顶部显示搜索按钮', 'theme-textdomain' ),
		'desc' => __( '开启才会显示，关闭则不显示', 'theme-textdomain' ),
		'id' => 'ztmao_ssk',
		'std' => '1',
		'type' => 'checkbox'
	);
	$options[] = array(
		'name' => __( '顶部显示登录按钮', 'theme-textdomain' ),
		'desc' => __( '开启才会显示，关闭则不显示', 'theme-textdomain' ),
		'id' => 'ztmao_login',
		'std' => '1',
		'type' => 'checkbox'
	);
	$options[] = array(
		'name' => __( '首页显示友情链接', 'theme-textdomain' ),
		'desc' => __( '开启才会显示，关闭则不显示', 'theme-textdomain' ),
		'id' => 'ztmao_yqlj',
		'std' => '1',
		'type' => 'checkbox'
	);
	$options[] = array(
		'name' => __( '暂时关闭网站功能', 'theme-textdomain' ),
		'desc' => __( '适合备案时使用，网站会提示“网站正在升级，请稍后访问，感谢您的谅解！', 'theme-textdomain' ),
		'id' => 'ztmao_weihu',
		'std' => '1',
		'type' => 'checkbox'
	);
	$options[] = array(
		'name' => __( '文章内作者信息', 'theme-textdomain' ),
		'desc' => __( '文章右侧栏会显示作者的头像、昵称、及描述等信息，请到【用户->我的个人资料】中补充详细个人信息。', 'theme-textdomain' ),
		'id' => 'ztmao_post_author_box',
		'std' => '1',
		'type' => 'checkbox'
	);
	$options[] = array(
		'name' => __( '首页/分类的文章列表，在新窗口或标签页打开文章', 'theme-textdomain' ),
		'desc' => __( '在新窗口或标签页打开文章。', 'theme-textdomain' ),
		'id' => 'ztmao_post_target',
		'std' => '0',
		'type' => 'checkbox'
	);
	$options[] = array(
		'name' => __( '点赞功能', 'theme-textdomain' ),
		'desc' => __( '免插件文章点赞功能。', 'theme-textdomain' ),
		'id' => 'post_like',
		'std' => '1',
		'type' => 'checkbox'
	);
	$options[] = array(
		'name' => __( '打赏功能', 'theme-textdomain' ),
		'desc' => __( '免插件文章打赏功能。', 'theme-textdomain' ),
		'id' => 'post_dashang',
		'std' => '1',
		'type' => 'checkbox'
	);
	$options[] = array(
		'name' => __( '打赏二维码图片', 'theme-textdomain' ),
		'desc' => __( '图片大小：长宽130px适合', 'theme-textdomain' ),
		'std' => '',
		'id' => 'post_dashang_img',
		'type' => 'upload'
	);

	$options[] = array(
		'name' => __( '首页/分类列表/文章内显示浏览数', 'theme-textdomain' ),
		'desc' => __( '开启才会显示，关闭则不显示', 'theme-textdomain' ),
		'id' => 'list-liulan',
		'std' => '1',
		'type' => 'checkbox'
	);
	$options[] = array(
		'name' => __( '首页/分类列表/文章内显示评论数量', 'theme-textdomain' ),
		'desc' => __( '开启才会显示，关闭则不显示', 'theme-textdomain' ),
		'id' => 'list-comment',
		'std' => '1',
		'type' => 'checkbox'
	);
	$options[] = array(
		'name' => __( '首页/分类列表页显示文章标签', 'theme-textdomain' ),
		'desc' => __( '开启才会显示，关闭则不显示', 'theme-textdomain' ),
		'id' => 'list-tag',
		'std' => '1',
		'type' => 'checkbox'
	);
	


	$options[] = array(
		'name' => __( '社交工具', 'theme-textdomain' ),
		'id' => 'dashicons-groups',
		'type' => 'heading'
	);
	$options[] = array(
		'name' => __( '微信二维码', 'theme-textdomain' ),
		'desc' => __( '开启后将显示在顶部导航栏和底部右下角', 'theme-textdomain' ),
		'id' => 'social_weixin',
		'std' => '1',
		'type' => 'checkbox'
	);
	$options[] = array(
		'name' => __( '微信二维码图片', 'theme-textdomain' ),
		'desc' => __( '图片大小：长宽130px适合', 'theme-textdomain' ),
		'std' => '',
		'id' => 'ztmao_social_weixin',
		'type' => 'upload'
	);
	$options[] = array(
		'name' => __('Ios客户端', 'options_framework_theme'),
		'id' => 'social_ios',
		'std' => true,
		'desc' => __('开启后将显示在底部右下角', 'options_framework_theme）', 'options_framework_theme'),
		'type' => 'checkbox');
		
	$options[] = array(
		'name' => __('Ios客户端二维码图片', 'options_framework_theme'),
		'desc' => __('图片大小：长宽130px适合', 'options_framework_theme'),
		'id' => 'ztmao_social_ios',
		'type' => 'upload');
		
	$options[] = array(
		'name' => __('Android客户端', 'options_framework_theme'),
		'id' => 'social_android',
		'std' => true,
		'desc' => __('开启后将显示在底部右下角', 'options_framework_theme）', 'options_framework_theme'),
		'type' => 'checkbox');
		
	$options[] = array(
		'name' => __('Android客户端二维码图片', 'options_framework_theme'),
		'desc' => __('图片大小：长宽130px适合', 'options_framework_theme'),
		'id' => 'ztmao_social_android',
		'type' => 'upload');

		
	$options[] = array(
		'name' => __('新浪微博图标', 'options_framework_theme'),
		'id' => 'social_xl',
		'std' => true,
		'desc' => __('开启后将显示在底部右下角', 'options_framework_theme'),
		'type' => 'checkbox');
		
	$options[] = array(
		'name' => __('新浪微博链接', 'options_framework_theme'),
		'desc' => __('直接输入您的新浪微博链接，别忘了开头带“http://”', 'options_framework_theme'),
		'id' => 'ztmao_social_xlurl',
		'type' => 'text');	
	
	$options[] = array(
		'name' => __('QQ客服图标', 'options_framework_theme'),
		'id' => 'social_qq',
		'std' => true,
		'desc' => __('开启后将显示在底部右下角','options_framework_theme'),
		'type' => 'checkbox');
		
	$options[] = array(
		'name' => __('QQ在线客服', 'options_framework_theme'),
		'desc' => __('直接输入您的QQ临时会话链接', 'options_framework_theme'),
		'id' => 'ztmao_social_qqurl',
		'type' => 'text');	
	
	
	
	$options[] = array(
		'name' => __( '广告投放', 'theme-textdomain' ),
		'id' => 'dashicons-media-code',
		'type' => 'heading'
	);	
	$options[] = array(
		'name' => __( '全站顶部广告位', 'theme-textdomain' ),
		'desc' => __( '全站顶部安置了1个1170x80的广告位（1170*80是推荐尺寸，可投放联盟广告）。', 'theme-textdomain' ),
		'id' => 'ztmao_ad_index',
		'std' => '',
		'type' => 'checkbox'
	);	
	$options[] = array(
		'name' => __( 'PC广告代码', 'theme-textdomain' ),
		'desc' => __( '', 'theme-textdomain' ),
		'id' => 'ztmao_ad_index_url',
		'std' => '',
		'type' => 'textarea'
	);
	$options[] = array(
		'name' => __( 'WAP广告代码', 'theme-textdomain' ),
		'desc' => __( '', 'theme-textdomain' ),
		'id' => 'ztmao_mobile_ad_index_url',
		'std' => '',
		'type' => 'textarea'
	);
	$options[] = array(
		'name' => __( '首页分类模块下广告位', 'theme-textdomain' ),
		'desc' => __( '首页分类模块下安置了1个800x80的广告位（800*80是推荐尺寸，可投放联盟广告）。', 'theme-textdomain' ),
		'id' => 'ztmao_ad_index2',
		'std' => '',
		'type' => 'checkbox'
	);	
	$options[] = array(
		'name' => __( 'PC广告代码', 'theme-textdomain' ),
		'desc' => __( '', 'theme-textdomain' ),
		'id' => 'ztmao_list1_ad_url',
		'std' => '',
		'type' => 'textarea'
	);
	$options[] = array(
		'name' => __( 'WAP广告代码', 'theme-textdomain' ),
		'desc' => __( '', 'theme-textdomain' ),
		'id' => 'ztmao_mobile_list1_ad_url',
		'std' => '',
		'type' => 'textarea'
	);
	$options[] = array(
		'name' => __( '文章信息流广告位', 'theme-textdomain' ),
		'desc' => __( '展示于文章列表，有极高的点击率。', 'theme-textdomain' ),
		'id' => 'ztmao_ad_1',
		'std' => '',
		'type' => 'checkbox'
	);
	$options[] = array(
		'name' => __( '展示于第几篇文章后？', 'theme-textdomain' ),
		'desc' => __( '自定义显示位置，例如输入5，此广告则出现在第5篇文章之后。。', 'theme-textdomain' ),
		'id' => 'ztmao_ad_1_num',
		'std' => '',
		'class' => 'mini',
		'type' => 'text'
	);	
	$options[] = array(
		'name' => __( 'PC广告代码', 'theme-textdomain' ),
		'desc' => __( '投放信息流广告', 'theme-textdomain' ),
		'id' => 'ztmao_ad_1_url',
		'std' => '',
		'type' => 'textarea'
	);
	$options[] = array(
		'name' => __( 'WAP广告代码', 'theme-textdomain' ),
		'desc' => __( '投放信息流广告', 'theme-textdomain' ),
		'id' => 'ztmao_mobile_ad_1_url',
		'std' => '',
		'type' => 'textarea'
	);
	$options[] = array(
		'name' => __( '文章内容页顶部广告位', 'theme-textdomain' ),
		'desc' => __( '文章内容页安置了1个675x80的广告位（675*80是推荐尺寸，可投放联盟广告）。', 'theme-textdomain' ),
		'id' => 'ztmao_ad_single',
		'std' => '',
		'type' => 'checkbox'
	);	
	$options[] = array(
		'name' => __( 'PC广告代码', 'theme-textdomain' ),
		'desc' => __( '', 'theme-textdomain' ),
		'id' => 'ztmao_ad_single_url',
		'std' => '',
		'type' => 'textarea'
	);
	$options[] = array(
		'name' => __( 'WAP广告代码', 'theme-textdomain' ),
		'desc' => __( '', 'theme-textdomain' ),
		'id' => 'ztmao_mobile_ad_single_url',
		'std' => '',
		'type' => 'textarea'
	);
	$options[] = array(
		'name' => __( '广告位——文章画中画', 'theme-textdomain' ),
		'desc' => __( '文章画中画广告位，可投放矩形广告', 'theme-textdomain' ),
		'id' => 'ztmao_ad_single_article',
		'std' => '',
		'type' => 'checkbox'
	);	
	$options[] = array(
		'name' => __( '展示于第几段文字后？', 'theme-textdomain' ),
		'desc' => __( '自定义显示位置，例如输入5，此广告则出现在第5段文字后', 'theme-textdomain' ),
		'id' => 'ztmao_ad_single_article_num',
		'std' => '',
		'class' => 'mini',
		'type' => 'text'
	);
	$options[] = array(
		'name' => __( 'PC广告代码', 'theme-textdomain' ),
		'desc' => __( '', 'theme-textdomain' ),
		'id' => 'ztmao_ad_single_article_url',
		'std' => '',
		'type' => 'textarea'
	);
	$options[] = array(
		'name' => __( 'WAP广告代码', 'theme-textdomain' ),
		'desc' => __( '', 'theme-textdomain' ),
		'id' => 'ztmao_mobile_ad_single_article_url',
		'std' => '',
		'type' => 'textarea'
	);
	$options[] = array(
		'name' => __( '广告位——文章结束', 'theme-textdomain' ),
		'desc' => __( '文章结束广告位，可投放横幅通栏', 'theme-textdomain' ),
		'id' => 'ztmao_ad_single_article_end',
		'std' => '',
		'type' => 'checkbox'
	);	
	$options[] = array(
		'name' => __( 'PC广告代码', 'theme-textdomain' ),
		'desc' => __( '', 'theme-textdomain' ),
		'id' => 'ztmao_ad_single_article_end_url',
		'std' => '',
		'type' => 'textarea'
	);
	$options[] = array(
		'name' => __( 'WAP广告代码', 'theme-textdomain' ),
		'desc' => __( '', 'theme-textdomain' ),
		'id' => 'ztmao_mobile_ad_single_article_end_url',
		'std' => '',
		'type' => 'textarea'
	);
	$options[] = array(
		'name' => __( '主题优化', 'theme-textdomain' ),
		'id' => 'dashicons-wordpress',
		'type' => 'heading'
	);

	$options[] = array(
		'name' => __( '七牛缩略图', 'theme-textdomain' ),
		'desc' => __( '勾选即采用七牛缩略图，否则即使用默认timthumb裁剪，采用七牛缩略图需要安装【<a href="http://down.2zzt.com/uploads/wpjam-qiniu.zip" target="_blank">七牛插件</a>】', 'theme-textdomain' ),
		'id' => 'qiniu',
		'std' => '0',
		'type' => 'checkbox'
	);
	
	$options[] = array(
		'name' => __( '去除仪表盘多余板块', 'theme-textdomain' ),
		'desc' => __( '去除仪表盘里多余的展示', 'theme-textdomain' ),
		'id' => 'ybpql',
		'std' => '1',
		'type' => 'checkbox'
	);
	
	$options[] = array(
		'name' => __( '文章注意的提示', 'theme-textdomain' ),
		'desc' => __( '勾选启动文章提醒界面', 'theme-textdomain' ),
		'id' => 'wztx',
		'std' => '0',
		'type' => 'checkbox'
	);
	
	$options[] = array(
		'name' => __( '去wordpress化', 'theme-textdomain' ),
		'desc' => __( '去除wordpress的一系列标识', 'theme-textdomain' ),
		'id' => 'wpbs',
		'std' => '0',
		'type' => 'checkbox'
	);
	
	$options[] = array(
		'name' => __( '去category', 'theme-textdomain' ),
		'desc' => __( '去除分类链接中category标识', 'theme-textdomain' ),
		'id' => 'nocg',
		'std' => '0',
		'type' => 'checkbox'
	);
	
	$options[] = array(
		'name' => __( '禁止feed', 'theme-textdomain' ),
		'desc' => __( '随着大多数feed平台的关闭和防止被采集，去除feed更好！', 'theme-textdomain' ),
		'id' => 'nofeed',
		'std' => '0',
		'type' => 'checkbox'
	);
	
	$options[] = array(
		'name' => __( '压缩html代码', 'theme-textdomain' ),
		'desc' => __( '压缩html代码不影响seo，且加速网站速度，增加网站被仿制难度！', 'theme-textdomain' ),
		'id' => 'ya',
		'std' => '0',
		'type' => 'checkbox'
	);
	
	$options[] = array(
		'name' => __( '关闭pingback', 'theme-textdomain' ),
		'desc' => __( 'pingback被利用成广告或评论骚扰，建议关闭', 'theme-textdomain' ),
		'id' => 'pingback',
		'std' => '0',
		'type' => 'checkbox'
	);
	
	$options[] = array(
		'name' => __( '图片自动alt', 'theme-textdomain' ),
		'desc' => __( '给文章图片自动添加alt和title信息', 'theme-textdomain' ),
		'id' => 'picalt',
		'std' => '0',
		'type' => 'checkbox'
	);
	
	$options[] = array(
		'name' => __( 'nofollow', 'theme-textdomain' ),
		'desc' => __( '文章里外部链接自动添加nofollow', 'theme-textdomain' ),
		'id' => 'nofollow',
		'std' => '0',
		'type' => 'checkbox'
	);
	$options[] = array(
		'name' => __( '禁止更新', 'theme-textdomain' ),
		'desc' => __( '禁止一切的更新，包括WP、主题、插件', 'theme-textdomain' ),
		'id' => 'noupdate',
		'std' => '0',
		'type' => 'checkbox'
	);
	$options[] = array(
		'name' => __( '后台登陆美化', 'theme-textdomain' ),
		'desc' => __( '对后台的登陆页面进行美化', 'theme-textdomain' ),
		'id' => 'loginjm',
		'std' => '0',
		'type' => 'checkbox'
	);


	
	

	return $options;
}